/*
* Copyright 2024 NXP
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
* comply with and are bound by, such license terms.  If you do not agree to be bound by the applicable license
* terms, then you may not retain, install, activate or otherwise use the software.
*/

#include "lvgl.h"
#include <stdio.h>
#include "gui_guider.h"
#include "events_init.h"
#include "widgets_init.h"
#include "custom.h"



void setup_scr_INSMODE(lv_ui *ui)
{
    //Write codes INSMODE
    ui->INSMODE = lv_obj_create(NULL);
    lv_obj_set_size(ui->INSMODE, 240, 320);
    lv_obj_set_scrollbar_mode(ui->INSMODE, LV_SCROLLBAR_MODE_OFF);

    //Write style for INSMODE, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_cont_1
    ui->INSMODE_cont_1 = lv_obj_create(ui->INSMODE);
    lv_obj_set_pos(ui->INSMODE_cont_1, 0, 0);
    lv_obj_set_size(ui->INSMODE_cont_1, 240, 320);
    lv_obj_set_scrollbar_mode(ui->INSMODE_cont_1, LV_SCROLLBAR_MODE_OFF);

    //Write style for INSMODE_cont_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_cont_1, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_cont_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_cont_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_cont_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_INSMode
    ui->INSMODE_INSMode = lv_btn_create(ui->INSMODE_cont_1);
    ui->INSMODE_INSMode_label = lv_label_create(ui->INSMODE_INSMode);
    lv_label_set_text(ui->INSMODE_INSMode_label, "INSMode");
    lv_label_set_long_mode(ui->INSMODE_INSMode_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->INSMODE_INSMode_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->INSMODE_INSMode, 0, LV_STATE_DEFAULT);
    lv_obj_set_width(ui->INSMODE_INSMode_label, LV_PCT(100));
    lv_obj_set_pos(ui->INSMODE_INSMode, 163, 279);
    lv_obj_set_size(ui->INSMODE_INSMode, 77, 41);

    //Write style for INSMODE_INSMode, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_INSMode, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_INSMode, lv_color_hex(0x5dccb8), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_INSMode, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_INSMode, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_INSMode, 12, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_INSMode, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_INSMode, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_INSMode, &lv_font_Acme_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_INSMode, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_INSMode, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_Home
    ui->INSMODE_Home = lv_btn_create(ui->INSMODE_cont_1);
    ui->INSMODE_Home_label = lv_label_create(ui->INSMODE_Home);
    lv_label_set_text(ui->INSMODE_Home_label, "Home");
    lv_label_set_long_mode(ui->INSMODE_Home_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->INSMODE_Home_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->INSMODE_Home, 0, LV_STATE_DEFAULT);
    lv_obj_set_width(ui->INSMODE_Home_label, LV_PCT(100));
    lv_obj_set_pos(ui->INSMODE_Home, 92, 276);
    lv_obj_set_size(ui->INSMODE_Home, 55, 42);

    //Write style for INSMODE_Home, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_Home, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_Home, lv_color_hex(0x5da6e8), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Home, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_Home, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Home, 16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_Home, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_Home, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_Home, &lv_font_Acme_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_Home, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_Home, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_GPSMode
    ui->INSMODE_GPSMode = lv_btn_create(ui->INSMODE_cont_1);
    ui->INSMODE_GPSMode_label = lv_label_create(ui->INSMODE_GPSMode);
    lv_label_set_text(ui->INSMODE_GPSMode_label, "GPSMode");
    lv_label_set_long_mode(ui->INSMODE_GPSMode_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->INSMODE_GPSMode_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->INSMODE_GPSMode, 0, LV_STATE_DEFAULT);
    lv_obj_set_width(ui->INSMODE_GPSMode_label, LV_PCT(100));
    lv_obj_set_pos(ui->INSMODE_GPSMode, 0, 279);
    lv_obj_set_size(ui->INSMODE_GPSMode, 80, 41);

    //Write style for INSMODE_GPSMode, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_GPSMode, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_GPSMode, lv_color_hex(0x5dccb8), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_GPSMode, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_GPSMode, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_GPSMode, 12, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_GPSMode, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_GPSMode, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_GPSMode, &lv_font_Acme_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_GPSMode, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_GPSMode, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_btn_1
    ui->INSMODE_btn_1 = lv_btn_create(ui->INSMODE_cont_1);
    ui->INSMODE_btn_1_label = lv_label_create(ui->INSMODE_btn_1);
    lv_label_set_text(ui->INSMODE_btn_1_label, "INSMode");
    lv_label_set_long_mode(ui->INSMODE_btn_1_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->INSMODE_btn_1_label, LV_ALIGN_CENTER, 0, 0);
    lv_obj_set_style_pad_all(ui->INSMODE_btn_1, 0, LV_STATE_DEFAULT);
    lv_obj_set_width(ui->INSMODE_btn_1_label, LV_PCT(100));
    lv_obj_set_pos(ui->INSMODE_btn_1, 4, 2);
    lv_obj_set_size(ui->INSMODE_btn_1, 230, 51);

    //Write style for INSMODE_btn_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_btn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_btn_1, lv_color_hex(0x5dccb8), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_btn_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_btn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_btn_1, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_btn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_btn_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_btn_1, &lv_font_Alatsi_Regular_21, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_btn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_btn_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_cont_4
    ui->INSMODE_cont_4 = lv_obj_create(ui->INSMODE_cont_1);
    lv_obj_set_pos(ui->INSMODE_cont_4, 28, 152);
    lv_obj_set_size(ui->INSMODE_cont_4, 184, 32);
    lv_obj_set_scrollbar_mode(ui->INSMODE_cont_4, LV_SCROLLBAR_MODE_OFF);

    //Write style for INSMODE_cont_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_cont_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_cont_4, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_cont_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_cont_4, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_cont_4, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_cont_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_cont_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_cont_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_cont_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_cont_4, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_color(ui->INSMODE_cont_4, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_opa(ui->INSMODE_cont_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_spread(ui->INSMODE_cont_4, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_ofs_x(ui->INSMODE_cont_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_ofs_y(ui->INSMODE_cont_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_Start
    ui->INSMODE_Start = lv_switch_create(ui->INSMODE_cont_4);
    lv_obj_set_pos(ui->INSMODE_Start, 137, 4);
    lv_obj_set_size(ui->INSMODE_Start, 40, 20);

    //Write style for INSMODE_Start, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_Start, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_Start, lv_color_hex(0xe6e2e6), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Start, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_Start, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Start, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_Start, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write style for INSMODE_Start, Part: LV_PART_INDICATOR, State: LV_STATE_CHECKED.
    lv_obj_set_style_bg_opa(ui->INSMODE_Start, 255, LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_bg_color(ui->INSMODE_Start, lv_color_hex(0x2195f6), LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Start, LV_GRAD_DIR_NONE, LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_border_width(ui->INSMODE_Start, 0, LV_PART_INDICATOR|LV_STATE_CHECKED);

    //Write style for INSMODE_Start, Part: LV_PART_KNOB, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_Start, 255, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_Start, lv_color_hex(0xffffff), LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Start, LV_GRAD_DIR_NONE, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_Start, 0, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Start, 10, LV_PART_KNOB|LV_STATE_DEFAULT);

    //Write codes INSMODE_img_3
    ui->INSMODE_img_3 = lv_img_create(ui->INSMODE_cont_4);
    lv_obj_add_flag(ui->INSMODE_img_3, LV_OBJ_FLAG_CLICKABLE);
    lv_img_set_src(ui->INSMODE_img_3, &_qidong_alpha_28x28);
    lv_img_set_pivot(ui->INSMODE_img_3, 50,50);
    lv_img_set_angle(ui->INSMODE_img_3, 0);
    lv_obj_set_pos(ui->INSMODE_img_3, 4, 2);
    lv_obj_set_size(ui->INSMODE_img_3, 28, 28);

    //Write style for INSMODE_img_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_img_recolor_opa(ui->INSMODE_img_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_img_opa(ui->INSMODE_img_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_img_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->INSMODE_img_3, true, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_label_3
    ui->INSMODE_label_3 = lv_label_create(ui->INSMODE_cont_4);
    lv_label_set_text(ui->INSMODE_label_3, "Start");
    lv_label_set_long_mode(ui->INSMODE_label_3, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->INSMODE_label_3, 36, 7);
    lv_obj_set_size(ui->INSMODE_label_3, 97, 16);

    //Write style for INSMODE_label_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_label_3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_label_3, &lv_font_Alatsi_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_label_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->INSMODE_label_3, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_label_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_cont_2
    ui->INSMODE_cont_2 = lv_obj_create(ui->INSMODE_cont_1);
    lv_obj_set_pos(ui->INSMODE_cont_2, 28, 114);
    lv_obj_set_size(ui->INSMODE_cont_2, 184, 32);
    lv_obj_set_scrollbar_mode(ui->INSMODE_cont_2, LV_SCROLLBAR_MODE_OFF);

    //Write style for INSMODE_cont_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_cont_2, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_cont_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_cont_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_cont_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_cont_2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_color(ui->INSMODE_cont_2, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_opa(ui->INSMODE_cont_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_spread(ui->INSMODE_cont_2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_ofs_x(ui->INSMODE_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_ofs_y(ui->INSMODE_cont_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_Stop
    ui->INSMODE_Stop = lv_switch_create(ui->INSMODE_cont_2);
    lv_obj_set_pos(ui->INSMODE_Stop, 137, 5);
    lv_obj_set_size(ui->INSMODE_Stop, 40, 20);

    //Write style for INSMODE_Stop, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_Stop, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_Stop, lv_color_hex(0xe6e2e6), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Stop, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_Stop, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Stop, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_Stop, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write style for INSMODE_Stop, Part: LV_PART_INDICATOR, State: LV_STATE_CHECKED.
    lv_obj_set_style_bg_opa(ui->INSMODE_Stop, 255, LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_bg_color(ui->INSMODE_Stop, lv_color_hex(0x2195f6), LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Stop, LV_GRAD_DIR_NONE, LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_border_width(ui->INSMODE_Stop, 0, LV_PART_INDICATOR|LV_STATE_CHECKED);

    //Write style for INSMODE_Stop, Part: LV_PART_KNOB, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_Stop, 255, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_Stop, lv_color_hex(0xffffff), LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Stop, LV_GRAD_DIR_NONE, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_Stop, 0, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Stop, 10, LV_PART_KNOB|LV_STATE_DEFAULT);

    //Write codes INSMODE_img_1
    ui->INSMODE_img_1 = lv_img_create(ui->INSMODE_cont_2);
    lv_obj_add_flag(ui->INSMODE_img_1, LV_OBJ_FLAG_CLICKABLE);
    lv_img_set_src(ui->INSMODE_img_1, &_kaishi_alpha_28x28);
    lv_img_set_pivot(ui->INSMODE_img_1, 50,50);
    lv_img_set_angle(ui->INSMODE_img_1, 0);
    lv_obj_set_pos(ui->INSMODE_img_1, 4, 2);
    lv_obj_set_size(ui->INSMODE_img_1, 28, 28);

    //Write style for INSMODE_img_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_img_recolor_opa(ui->INSMODE_img_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_img_opa(ui->INSMODE_img_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_img_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->INSMODE_img_1, true, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_label_2
    ui->INSMODE_label_2 = lv_label_create(ui->INSMODE_cont_2);
    lv_label_set_text(ui->INSMODE_label_2, "Stop");
    lv_label_set_long_mode(ui->INSMODE_label_2, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->INSMODE_label_2, 36, 10);
    lv_obj_set_size(ui->INSMODE_label_2, 97, 16);

    //Write style for INSMODE_label_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_label_2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_label_2, &lv_font_Alatsi_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_label_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->INSMODE_label_2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_label_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_cont_3
    ui->INSMODE_cont_3 = lv_obj_create(ui->INSMODE_cont_1);
    lv_obj_set_pos(ui->INSMODE_cont_3, 28, 76);
    lv_obj_set_size(ui->INSMODE_cont_3, 184, 32);
    lv_obj_set_scrollbar_mode(ui->INSMODE_cont_3, LV_SCROLLBAR_MODE_OFF);

    //Write style for INSMODE_cont_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_cont_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_cont_3, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_cont_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_cont_3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_cont_3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_cont_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_cont_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_cont_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_cont_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_cont_3, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_color(ui->INSMODE_cont_3, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_opa(ui->INSMODE_cont_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_spread(ui->INSMODE_cont_3, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_ofs_x(ui->INSMODE_cont_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_ofs_y(ui->INSMODE_cont_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_Record
    ui->INSMODE_Record = lv_switch_create(ui->INSMODE_cont_3);
    lv_obj_set_pos(ui->INSMODE_Record, 137, 6);
    lv_obj_set_size(ui->INSMODE_Record, 40, 20);

    //Write style for INSMODE_Record, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_Record, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_Record, lv_color_hex(0xe6e2e6), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Record, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_Record, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Record, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_Record, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write style for INSMODE_Record, Part: LV_PART_INDICATOR, State: LV_STATE_CHECKED.
    lv_obj_set_style_bg_opa(ui->INSMODE_Record, 255, LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_bg_color(ui->INSMODE_Record, lv_color_hex(0x2195f6), LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Record, LV_GRAD_DIR_NONE, LV_PART_INDICATOR|LV_STATE_CHECKED);
    lv_obj_set_style_border_width(ui->INSMODE_Record, 0, LV_PART_INDICATOR|LV_STATE_CHECKED);

    //Write style for INSMODE_Record, Part: LV_PART_KNOB, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->INSMODE_Record, 255, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_Record, lv_color_hex(0xffffff), LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_Record, LV_GRAD_DIR_NONE, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->INSMODE_Record, 0, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Record, 10, LV_PART_KNOB|LV_STATE_DEFAULT);

    //Write codes INSMODE_img_2
    ui->INSMODE_img_2 = lv_img_create(ui->INSMODE_cont_3);
    lv_obj_add_flag(ui->INSMODE_img_2, LV_OBJ_FLAG_CLICKABLE);
    lv_img_set_src(ui->INSMODE_img_2, &_tingzhi_alpha_28x28);
    lv_img_set_pivot(ui->INSMODE_img_2, 50,50);
    lv_img_set_angle(ui->INSMODE_img_2, 0);
    lv_obj_set_pos(ui->INSMODE_img_2, 3, 1);
    lv_obj_set_size(ui->INSMODE_img_2, 28, 28);

    //Write style for INSMODE_img_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_img_recolor_opa(ui->INSMODE_img_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_img_opa(ui->INSMODE_img_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_img_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_clip_corner(ui->INSMODE_img_2, true, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_label_1
    ui->INSMODE_label_1 = lv_label_create(ui->INSMODE_cont_3);
    lv_label_set_text(ui->INSMODE_label_1, "Record");
    lv_label_set_long_mode(ui->INSMODE_label_1, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->INSMODE_label_1, 36, 8);
    lv_obj_set_size(ui->INSMODE_label_1, 97, 16);

    //Write style for INSMODE_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_label_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_label_1, &lv_font_Alatsi_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->INSMODE_label_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_label_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_cont_5
    ui->INSMODE_cont_5 = lv_obj_create(ui->INSMODE);
    lv_obj_set_pos(ui->INSMODE_cont_5, 10, 193);
    lv_obj_set_size(ui->INSMODE_cont_5, 217, 72);
    lv_obj_set_scrollbar_mode(ui->INSMODE_cont_5, LV_SCROLLBAR_MODE_OFF);

    //Write style for INSMODE_cont_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_cont_5, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->INSMODE_cont_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->INSMODE_cont_5, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->INSMODE_cont_5, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_cont_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_cont_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->INSMODE_cont_5, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->INSMODE_cont_5, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_cont_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_cont_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_cont_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_cont_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_cont_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_label_4
    ui->INSMODE_label_4 = lv_label_create(ui->INSMODE_cont_5);
    lv_label_set_text(ui->INSMODE_label_4, "Angle              °");
    lv_label_set_long_mode(ui->INSMODE_label_4, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->INSMODE_label_4, 33, 44);
    lv_obj_set_size(ui->INSMODE_label_4, 124, 19);

    //Write style for INSMODE_label_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_label_4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_label_4, &lv_font_Acme_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_label_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->INSMODE_label_4, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_label_4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_Angle
    ui->INSMODE_Angle = lv_label_create(ui->INSMODE_cont_5);
    lv_label_set_text(ui->INSMODE_Angle, "23.5");
    lv_label_set_long_mode(ui->INSMODE_Angle, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->INSMODE_Angle, 82, 44);
    lv_obj_set_size(ui->INSMODE_Angle, 65, 16);

    //Write style for INSMODE_Angle, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_Angle, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_Angle, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_Angle, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->INSMODE_Angle, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_Angle, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_Angle, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_label_6
    ui->INSMODE_label_6 = lv_label_create(ui->INSMODE_cont_5);
    lv_label_set_text(ui->INSMODE_label_6, "Speed                 ");
    lv_label_set_long_mode(ui->INSMODE_label_6, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->INSMODE_label_6, 33, 8);
    lv_obj_set_size(ui->INSMODE_label_6, 71, 20);

    //Write style for INSMODE_label_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_label_6, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_label_6, &lv_font_Acme_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_label_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->INSMODE_label_6, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_label_6, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes INSMODE_Speed
    ui->INSMODE_Speed = lv_label_create(ui->INSMODE_cont_5);
    lv_label_set_text(ui->INSMODE_Speed, "30");
    lv_label_set_long_mode(ui->INSMODE_Speed, LV_LABEL_LONG_WRAP);
    lv_obj_set_pos(ui->INSMODE_Speed, 83, 8);
    lv_obj_set_size(ui->INSMODE_Speed, 65, 16);

    //Write style for INSMODE_Speed, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->INSMODE_Speed, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->INSMODE_Speed, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->INSMODE_Speed, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->INSMODE_Speed, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->INSMODE_Speed, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->INSMODE_Speed, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //The custom code of INSMODE.


    //Update current screen layout.
    lv_obj_update_layout(ui->INSMODE);

    //Init events for screen.
    events_init_INSMODE(ui);
}
